package com.plian.system.entity.glcydgz;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Author: zsk
 * @Description: 管理层考核进度跟踪-重大工程
 * @Date: 2025/02/06
 * @Version: 1.0
 **/
@Data
@TableName("glc_major_progress")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MajorProgress 对象", description = "管理层考核进度跟踪-重大工程")
public class GlcMajorProgress extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long baseBusinessProgressId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "重大工程表id")
    private Long majorProjectId;

    @ApiModelProperty(value = "本月完成投资")
    private BigDecimal completeMonth;

    @ApiModelProperty(value = "本年度累计完成率")
    private BigDecimal cumulativeRate;

    @ApiModelProperty(value = "主要形象进度")
    private String imageProgress;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "项目id")
    @TableField(exist = false)
    private Long projectId;

    @TableField(exist = false)
    @ApiModelProperty(value = "第三方指标id")
    private String indicatorsCodeId;
}
